export default {
	data() {
		return {
			termSelectVM: {
				selectItem: '',
				placeHolder: '请选择学期',
				choices: [],
			},
		}
	},
	methods: {
		async fetchTerm() {
			let resp = await this.$http.get({
				url: '/edu/term/rpc/list'
			});
			let list = resp.result.map(item => {
				item.name = item.termName
				return item;
			})
			this.termSelectVM.choices = list;
			return list;
		},
	}
}